<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<div align="center">
    <form id="cms_channeltypeEdit_editForm" method="post">
        <input type="hidden" value="${entity.id}" name="id">
        <table class="tableForm">
            <tr>
                <th>频道名称</th>
                <td><input name="typename" value="${entity.typename}" class="easyui-validatebox" data-options="required:true" />
                </td>
            </tr>
            <tr>
                <th>识别名称</th>
                <td><input name="nid" class="easyui-validatebox" value="${entity.nid}" data-options="required:true" />
                </td>
            </tr>
            <tr>
                <th>模型类型</th>
                <td>
                    <select name="issystem">
                        <c:if test="${entity.issystem==1}">
                            <option value="1" selected="selected">系统模型</option>
                            <option value="0" >自建模型</option>
                        </c:if>
                        <c:if test="${entity.issystem ==0}">
                            <option value="1" >系统模型</option>
                            <option value="0" selected="selected">自建模型</option>
                        </c:if>
                    </select>
                </td>
            </tr>
            <tr>
                <th>状态</th>
                <td>
                    <select name="isshow">
                        <c:if test="${entity.isshow==1}">
                            <option value="1" selected="selected">启用</option>
                            <option value="0">禁用</option>
                        </c:if>
                        <c:if test="${entity.isshow ==0}">
                            <option value="1">启用</option>
                            <option value="0"  selected="selected">禁用</option>
                        </c:if>
                    </select>
                </td>
            </tr>
            <tr>
                <th>是否支持投稿</th>
                <td>
                    <select name="issend">
                        <c:if test="${entity.issend==1}">
                            <option value="1" selected="selected">支持</option>
                            <option value="0">不支持</option>
                        </c:if>
                        <c:if test="${entity.issend ==0}">
                            <option value="1" >支持</option>
                            <option value="0" selected="selected">不支持</option>
                        </c:if>
                    </select>
                </td>
            </tr>
            <tr>
                <th>稿件默认状态</th>
                <td>
                    <select name="arcsta">

                        <c:if test="${entity.arcsta==-1}">
                            <option value="-1" selected="selected">未审核</option>
                            <option value="0">已审核（自动生成HTML）</option>
                            <option value="1">已审核（仅使用动态文档）</option>
                        </c:if>
                        <c:if test="${entity.arcsta ==0}">
                            <option value="-1" >未审核</option>
                            <option value="0" selected="selected">已审核（自动生成HTML）</option>
                            <option value="1">已审核（仅使用动态文档）</option>
                        </c:if>
                        <c:if test="${entity.arcsta ==1}">
                            <option value="-1" >未审核</option>
                            <option value="0">已审核（自动生成HTML）</option>
                            <option value="1" selected="selected">已审核（仅使用动态文档）</option>
                        </c:if>

                    </select>
                </td>
            </tr>
            <tr>
                <th>许可会员组</th>
                <td>

                    <select name="usertype">
                        <c:if test="${entity.usertype==1}">
                            <option value="1" selected="selected">个人</option>
                            <option value="2">企业</option>
                            <option value="3" >不限</option>
                        </c:if>
                        <c:if test="${entity.usertype ==2}">
                            <option value="1" >个人</option>
                            <option value="2" selected="selected">企业</option>
                            <option value="3" >不限</option>
                        </c:if>
                        <c:if test="${entity.usertype ==3}">
                            <option value="1" >个人</option>
                            <option value="2">企业</option>
                            <option value="3" selected="selected">不限</option>
                        </c:if>
                    </select>
                </td>
            </tr>
            <tr>
                <th>许可投稿级别</th>
                <td>
                    <select name="sendrank">

                        <c:if test="${entity.sendrank==0}">
                            <option value="0"  selected="selected">游客</option>
                            <option value="10">注册会员</option>
                            <option value="50">中级会员</option>
                            <option value="100">高级会员</option>
                        </c:if>
                        <c:if test="${entity.sendrank ==10}">
                            <option value="0" >游客</option>
                            <option value="10" selected="selected">注册会员</option>
                            <option value="50" >中级会员</option>
                            <option value="100">高级会员</option>
                        </c:if>
                        <c:if test="${entity.sendrank ==50}">
                            <option value="0" >游客</option>
                            <option value="10">注册会员</option>
                            <option value="50" selected="selected">中级会员</option>
                            <option value="100">高级会员</option>
                        </c:if>
                        <c:if test="${entity.sendrank ==100}">
                            <option value="0" >游客</option>
                            <option value="10">注册会员</option>
                            <option value="50">中级会员</option>
                            <option value="100" selected="selected">高级会员</option>
                        </c:if>
                    </select>
                </td>
            </tr>
            <tr>
                <th>备注描述</th>
                <td><textarea id="cms_channeltypeAdd_textarea" name="remark" cols="40" rows="5">${entity.remark}</textarea>
                </td>
            </tr>
        </table>
    </form>
</div>